Working with images and other multimedia

A Sapphire Form can include an Image control that displays one or more images attached to the current recordClosed The record currently displayed in Details View or highlighted in List View (there is a faint dotted line around it). It is only possible to have one current record at a time.. The Image control may also allow you to manipulate an image (freehand draw / annotate), remove it from the current record, and upload one or more images to attach to the current record.

Tip: Some Forms will allow you to upload any type of multimedia, not just images.

If you add an image to the current record by uploading a new image, several things will happen when the Form is saved:

  • A new record for the image will be created in the Multimedia module.
  • The new Multimedia record will be attached to the current record.

It is important to keep in mind that a Form is usually designed to edit records or create new records in modules such as the Catalogue or Parties: the purpose of an Image control is to allow you to view, add or remove images attached to the current record (a record in the Catalogue module for instance). While you create Multimedia records when you upload a new image, when you use the Remove image button you are removing an attachment to the Multimedia record, not deleting a record from the Multimedia module.

When more than one image is added to an Image control, the Image control functions as a (static) carousel that enables you to cycle through the images (details below):

Image capture

#

Icon

Label

Description

1

 

Select Image (and other ways to add an image to a Form)

Locate and add one or more multimedia files to the Image control.

2

Zoom in / out

Click to zoom in / out an image.

Alternatively, use your mouse scroll wheel to zoom in and out.

Tip: Click anywhere on an image, hold the mouse button and drag the cursor to move the image.

3

Remove image / annotation

Used to remove an annotation from an image; or to remove an image from the Image control.

Annotation

To remove an annotation, click the annotation to select it and then click .

Image

If the Form displays an image attached to the current recordClosed The record currently displayed in Details View or highlighted in List View (there is a faint dotted line around it). It is only possible to have one current record at a time., clicking Remove image and then Save will remove the attachment from the current record to the Multimedia record that holds the image.

Note: This action removes the attachment between the current record (a record in the Catalogue module for instance) and the record for the image in the Multimedia module. It does not delete the Multimedia record, and the image could be reattached to the record or attached to another record.

4

5

Annotate

Draw

Select to add a text overlay to an image.

Tip: Annotations can be placed on the image and (in Sapphire version 10 onwards) outside of its borders.

Select to draw a line (freehand) on an image. The cursor changes to:

Click the image, hold down the mouse button and move the cursor to draw a freehand line on the image.

Two additional icons display when the Annotate or Draw tool is selected:

The size and colour of annotation text and a line drawn with the Draw tool can be customized with the Settings option.

6

Settings

Used to configure the width of the line drawn with the Draw tool, and the size of text written with the Annotate tool; and to change the colour of both:

Draw settings

7

Undo

Select to undo the last action (annotation / stroke with the drawing tool). Select again to undo each previous action in sequence.

8

View Attached Images

and

Image carousel

When more than one image is added to an Image control, the Image control functions as a (static) carousel that enables you to cycle through the images.

Several methods are available for viewing the images loaded in a Form.

Save and Reset

  • To save any changes back to a record in EMu, select Save at the bottom of the Form.
  • To reset the Form to its state when the image was loaded, select Reset at the bottom of the Form. Any changes you have made (annotations, removing an attachment, etc.) will be undone.

Tip: These buttons are not enabled until changes are made to an image displaying in the Image control.